<?php
class BlocksWidget extends CWidget
{
	public $id;
	
    public function run()
    {
        $data = Blocks::model()->findByPk($this->id);
        $this->render('blocks', array('data' => $data));
    }
}
?>